#!/usr/bin/env python
import sys
sys.path.insert(0, "src")

try:
    from setuptools import setup, find_packages
except ImportError:
    from ez_setup import use_setuptools
    use_setuptools()
    from setuptools import setup, find_packages

setup(name='canvaside',
    version='0.1',
    package_dir={'':'src'},
    packages=find_packages('src', exclude='tests'),
    description='Server Side HTML 5 Canvas Render',
    long_description="Canvaside is a Python-based toolkit for applications "
        "that want to use images in the HTML 5 canvas for various purposes, "
        "such as display, generation or manipulation.",
    platforms="x86",
    author='Flier Lu',
    author_email='flier.lu@gmail.com',
    url='http://code.google.com/p/canvaside/',
    download_url='http://code.google.com/p/canvaside/downloads/list',
    license="Mozilla Public License 1.1",
    keywords="html5, python, canvas, javascript",
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Mozilla Public License 1.1 (MPL 1.1)',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: JavaScript',
        'Programming Language :: Python',
        'Topic :: Multimedia :: Graphics :: Presentation',
        'Topic :: Software Development :: Libraries :: Python Modules',
        ],
    setup_requires = ['nose'],
    test_suite = 'nose.collector',
    install_requires=[
        'BeautifulSoup >= 3.0.8',
        'cssutils >= 0.9.7a2',
        'PIL >= 1.1.6',
        'pycairo >= 1.8.6',
        'mock >= 0.6',
        ],
    )